<?php
class MisInfoRecipeTest extends PHPUnit_Framework_TestCase
{
    var $info_recipe;

    function setUp()
    {
        $mis_pdes = array(
            'pdes_eid'  => 83
        );
        $this->info_recipe = new MisInfoRecipe($mis_pdes);
    }

    function tearDown()
    {
        unset($this->info_recipe);
    }

    function testExistsRelation()
    {
        $recipes = array(
            '123'
        );
        $rs = $this->info_recipe->import($recipes);
		$this->assertEquals(true, $rs);
    }

    function testNotExistsRelation()
    {
        $recipes = array(
            '456'
        );
        $rs = $this->info_recipe->import($recipes);
		$this->assertEquals(true, $rs);
    }
}
?>
